﻿/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: #4f46e5;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #4f46e5;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .feature h3 {
        font-family: 'Orbitron', monospace;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #4f46e5;
        letter-spacing: 1px;
    }

    .feature p {
        font-size: 0.9rem;
        opacity: 0.8;
    }

/* Section Styles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 15px 25px;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

.google-play {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}

.app-store {
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    width: 40px;
    height: 40px;
}

    .btn-icon svg {
        width: 100%;
        height: 100%;
    }

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1;
}

.btn-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* GIF Gallery Section */
.gif-gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
}

    .gif-gallery-section .section-title {
        color: #fff;
    }

    .gif-gallery-section .section-subtitle {
        color: #9ca3af;
    }

.gif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.gif-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .gif-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        border-color: #4f46e5;
    }

.gif-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gif-item:hover .gif-image {
    transform: scale(1.05);
}

.gif-description {
    padding: 20px;
    text-align: center;
}

    .gif-description h3 {
        font-family: 'Orbitron', monospace;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #4f46e5;
        letter-spacing: 1px;
    }

    .gif-description p {
        font-size: 0.9rem;
        color: #d1d5db;
        line-height: 1.5;
    }

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #1f2937;
    color: #fff;
}

    .contact-section .section-title {
        color: #fff;
    }

    .contact-section .section-subtitle {
        color: #9ca3af;
    }

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    text-decoration: none;
    background: #374151;
    color: #fff;
    border-radius: 12px;
    padding: 20px 30px;
    transition: all 0.3s ease;
    min-width: 250px;
    border: 2px solid transparent;
}

    .contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

.discord-btn {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
}

    .discord-btn:hover {
        border-color: #5865f2;
    }

.email-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

    .email-btn:hover {
        border-color: #dc2626;
    }

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 30px 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

        .nav-menu.active {
            left: 0;
        }

    .hamburger {
        display: flex;
    }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
    }

    .btn-content {
        justify-content: center;
    }

    .gif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gif-container {
        height: 150px;
    }

    .gif-description {
        padding: 15px;
    }

        .gif-description h3 {
            font-size: 1rem;
        }

        .gif-description p {
            font-size: 0.8rem;
        }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature {
        padding: 1rem;
    }

    .download-section,
    .contact-section,
    .gif-gallery-section {
        padding: 60px 0;
    }

    .logo-img {
        height: 35px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .gif-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gif-container {
        height: 180px;
    }

    .gif-description {
        padding: 12px;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Focus styles for accessibility */
.nav-link:focus,
.download-btn:focus,
.contact-btn:focus,
.gif-item:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    .feature,
    .gif-item {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
    }

    .nav-link::after,
    .gif-item,
    .gif-image {
        transition: none;
    }

    .download-btn,
    .contact-btn {
        transition: none;
    }
}

/* Loading animation for GIFs */
.gif-image {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.gif-image[src] {
    background: none;
    animation: none;
}
